 <div class="home_block">
     <div class="block_title"><a href="">Projekte</a></div>
     <div class="block_content block_border">
       	<pp:dynamic name="projects">
			<div class="project_block_small" id="project_block_{@pp:id}">
			     <img src="http://chart.apis.google.com/chart?chs=90x90&amp;cht=p&amp;chco=77AB5D|E8BA2F|b55252|568bbc|bbbbbb|dddddd|444444&amp;chd=t:{@pp:todo_finished},{@pp:todo_on_schedule},{@pp:todo_behind_schedule},{@pp:todo_waiting},{@pp:todo_new}&amp;chp=0&amp;chma=0|0&amp;chof=png" />
			     <div class="content">
			         <span class="title"><a href=projects.php?id={@pp:id}">{@pp:title}</a></span>
			         <span class="desc">
			             Letztes Todo zu erledigen bis {@pp:last_todo_date}<br />
			             {@pp:todo_count} Todos erstellt<br />
			             <a href="projects.php?id={@pp:id}" class="link_to_project" id="project_show_link_{@pp:id}">Projekt anzeigen</a>
			         </span>
			     </div>
			</div>
		</pp:dynamic>
		<script type="text/javascript">
         	<!--
         	<pp:dynamic name="project_scripts">
	             $('#project_show_link_{@pp:id}').hide();
	             $('#project_block_{@pp:id}').mouseover(function () {$('#project_show_link_{@pp:id}').show();});
                 $('#project_block_{@pp:id}').mouseout(function () {$('#project_show_link_{@pp:id}').hide();});
            </pp:dynamic>
            //-->
         </script>
        <div id="project_legend">
                <span id="pl_finished" class="dot">&nbsp;</span><span> fertig</span>
                <span id="pl_on_schedule" class="dot">&nbsp;</span><span> im Zeitplan</span>

                <span id="pl_behind_schedule" class="dot">&nbsp;</span><span> hinter Zeitplan</span>
                <span id="pl_waiting" class="dot">&nbsp;</span><span> warte</span>
                <span id="pl_new" class="dot">&nbsp;</span><span> neu</span>
        </div>
	</div>	                
    <div class="block_footer">
        <a href="projects.php">Alle Projekte anzeigen </a> 
    </div>
</div>
 
 <div class="home_block">
     <div class="block_title"><a href="">die n&auml;chsten Todos</a></div>
     <div class="block_content block_border">
         <pp:dynamic name="todos">
	          <div class="todo_block_small" id="todo_block_{@pp:id}">
	              <span class="title">{@pp:title}</span>
	              <span class="desc">
	                  <strong>Status:</strong> <img src="{@pp:base}{@pp:tpl_folder}/img/status/{@pp:status_img}.png" class="status"/> {@pp:status}<br />
	                  Bis {@pp:target_date} zu erledigen<br />
	                  <a href="todos.php?id={@pp:id}" class="space_top" id="todo_show_link_{@pp:id}">Todo anzeigen</a>
	
	              </span>
	          </div>
      	 </pp:dynamic>
         <script type="text/javascript">
         	<!--
         	<pp:dynamic name="todo_scripts">
	             $('#todo_show_link_{@pp:id}').hide();
	             $('#todo_block_{@pp:id}').mouseover(function () {$('#todo_show_link_{@pp:id}').show();});
                 $('#todo_block_{@pp:id}').mouseout(function () {$('#todo_show_link_{@pp:id}').hide();});
            </pp:dynamic>
            //-->
         </script>
     </div>
     <div class="block_footer"><!-- <a href="todos.php">Alle Todos anzeigen </a>  -->&nbsp;</div>
 </div>
 <div class="clearer">&nbsp;</div>
